﻿<loki:ViewControl
    x:TypeArguments="lunavm:AccountEditViewModel"
    xmlns:lunavm="clr-namespace:Luna.UI.CRM;assembly=Luna.Core"
    xmlns:loki="clr-namespace:Loki.UI.Wpf;assembly=Loki.UI.Wpf"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
    xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
    xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
    x:Class="Luna.UI.CRM.Wpf.AccountEditView"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="300">
    <dxlc:LayoutControl Orientation="Vertical">
        <dxlc:LayoutItem Label="Nom">
            <dxe:TextEdit x:Name="TXT_Name" />
        </dxlc:LayoutItem>
        <dxlc:LayoutItem Label="Adresse">
            <dxe:TextEdit x:Name="TXT_Address" />
        </dxlc:LayoutItem>
        <dxlc:LayoutItem Label="Code postal">
            <dxe:TextEdit x:Name="TXT_ZipCode" Mask="\d\d\d\d\d" MaskType="RegEx" />
        </dxlc:LayoutItem>
        <dxlc:LayoutItem Label="Ville">
            <dxe:TextEdit x:Name="TXT_City" />
        </dxlc:LayoutItem>
        <dxlc:LayoutItem Label="Pays">
            <dxe:TextEdit x:Name="TXT_Country" />
        </dxlc:LayoutItem>
        <dxlc:LayoutItem Label="Téléphone">
            <dxe:TextEdit x:Name="TXT_Phone" Mask="(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*" MaskType="RegEx" MaskSaveLiteral="False" />
        </dxlc:LayoutItem>
        <dxlc:LayoutItem Label="E-mail">
            <dxe:TextEdit x:Name="TXT_Mail" />
        </dxlc:LayoutItem>
        <dxlc:LayoutItem Label="Site web">
            <dxe:TextEdit x:Name="TXT_Url" />
        </dxlc:LayoutItem>
    </dxlc:LayoutControl>
</loki:ViewControl>